<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ConfirmSetupIntentParams.createWithoutPaymentMethod - stripe</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">stripe</a>&nbsp;/&nbsp;<a href="../index.html">com.stripe.android.model</a>&nbsp;/&nbsp;<a href="index.html">ConfirmSetupIntentParams</a>&nbsp;/&nbsp;<a href="./create-without-payment-method.html">createWithoutPaymentMethod</a><br/>
<br/>
<h1>createWithoutPaymentMethod</h1>
<a name="com.stripe.android.model.ConfirmSetupIntentParams.Companion$createWithoutPaymentMethod(kotlin.String, kotlin.String)"></a>
<code><span class="identifier">@JvmStatic</span> <span class="identifier">@JvmOverloads</span> <span class="keyword">fun </span><span class="identifier">createWithoutPaymentMethod</span><span class="symbol">(</span><span class="identifier" id="com.stripe.android.model.ConfirmSetupIntentParams.Companion$createWithoutPaymentMethod(kotlin.String, kotlin.String)/clientSecret">clientSecret</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="com.stripe.android.model.ConfirmSetupIntentParams.Companion$createWithoutPaymentMethod(kotlin.String, kotlin.String)/returnUrl">returnUrl</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">ConfirmSetupIntentParams</span></a></code>
<p>Create the parameters necessary for confirming a SetupIntent, without specifying a payment method
to attach to the SetupIntent. Only use this if a payment method has already been attached
to the SetupIntent.</p>
<h3>Parameters</h3>
<p><a name="clientSecret"></a>
<code>clientSecret</code> - The client secret of this SetupIntent. Used for client-side retrieval using a publishable key.</p>
<p><a name="returnUrl"></a>
<code>returnUrl</code> - The URL to redirect your customer back to after they authenticate on the payment method’s app or site.
If you’d prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
This parameter is only used for cards and other redirect-based payment methods.</p>
<p><strong>Return</strong><br/>
params that can be use to confirm a SetupIntent</p>
</BODY>
</HTML>
